#include "exit.h"
Exit::Exit() : QPoint()
{

}

Exit::Exit(int xPos, int yPos) : QPoint(xPos, yPos)
{

}

bool Exit::isClosed()
{
    return _closed;
}

void Exit::drawClosed()
{
    int lottery = (qrand()%2);
    if(lottery == 0)
        _closed = true;
    else
        _closed = false;
}
